#ifndef PROPERTIESDIALOG_H
#define PROPERTIESDIALOG_H

#include "button.h"
#include "keycontrollablemenu.h"
#include <Maestro/mcplugins.h>
#include <QDialog>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QVBoxLayout>

class PropertiesDialog : public KeyControllableMenu {
    Q_OBJECT
public:
    PropertiesDialog(QWidget * parent=0);
    void show(MediaFile * file);
    void closeEvent(QCloseEvent *event);

signals:
    void closed(MediaFile *);

public slots:
    void okSelected();
    void cancelSelected();

private:
    MediaFile * currentFile;
    Button * okButton;
    Button * cancelButton;
    QLineEdit * artistLineEdit;
    QLineEdit * titleLineEdit;
    QLineEdit * descriptionLineEdit;
};


#endif // PROPERTIESDIALOG_H
